<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body></body>
</html>

<script>
  document.write("<table border='1' width='500' height='200'>");
  for (i = 1; i < 4; i += 1) {
    document.write("<tr>");
    for (j = 1; j < 4; j += 1) {
      document.write("<td></td>");
    }
    document.write("</tr>");
  }
  document.write("</table>");
</script>
